using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("GameplayErrorManager")]
	public class GameplayErrorManager : MonoBehaviour
	{
		public static GameplayErrorCloud s_messageInstance => MonoClass.smethod_7<GameplayErrorCloud>(TritonHs.MainAssemblyPath, "", "GameplayErrorManager", "s_messageInstance");

		public string m_message => method_4("m_message");

		public float m_displaySecsLeft => method_2<float>("m_displaySecsLeft");

		public UberText m_uberText => method_3<UberText>("m_uberText");

		public GameplayErrorCloud m_errorMessagePrefab => method_3<GameplayErrorCloud>("m_errorMessagePrefab");

		public GameplayErrorManager(IntPtr address, string className)
			: base(address, className)
		{
		}

		public GameplayErrorManager(IntPtr address)
			: this(address, "GameplayErrorManager")
		{
		}

		public static GameplayErrorManager Get()
		{
			return MonoClass.smethod_15<GameplayErrorManager>(TritonHs.MainAssemblyPath, "", "GameplayErrorManager", "Get", Array.Empty<object>());
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void OnPreUnload(SceneMgr.Mode prevMode, PegasusScene prevScene, object userData)
		{
			method_8("OnPreUnload", prevMode, prevScene, userData);
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public void Start()
		{
			method_8("Start");
		}

		public void DisplayMessage(string message)
		{
			method_8("DisplayMessage", message);
		}

		public void HideMessage()
		{
			method_8("HideMessage");
		}
	}
}
